<?php


/** 
 * 接口配置
 * @author susy.liang <susy.liang@ilongyuan.com.cn>
 * @param 
 * @return 
 */

return array(
	//第三方平台的client_id 和app_secrect的配置信息
	'thirdParty'=>array(
		'qq'=>array(
			'appId'=>'',
			'appKey'=>'',
			'codeApi'=>'https://graph.qq.com/oauth2.0/authorize',
			'tokenApi'=>'https://graph.qq.com/oauth2.0/token',
			'openidApi'=>'https://graph.qq.com/oauth2.0/me',
			'userApi'=>'https://graph.qq.com/user/get_user_info',
			'scope'=>'get_user_info',
			),
		'tencent'=>array(
			'appId'=>'',
			'appKey'=>'',
			'codeApi'=>'',
			'tokenApi'=>'',
			'openidApi'=>'',
			'userApi'=>'',
			'scope'=>'get_user_info',
			),
		'weixin'=>array(
			'appId'=>'',
			'appKey'=>'',
			'codeApi'=>'https://open.weixin.qq.com/connect/qrconnect',
			'tokenApi'=>'https://api.weixin.qq.com/sns/oauth2/access_token',
			'userApi'=>'https://api.weixin.qq.com/sns/userinfo',
			'scope'=>'snsapi_login',
			),
		'sina'=>array(
			'appId'=>'',
			'appKey'=>'',
			'codeApi'=>'https://api.weibo.com/oauth2/authorize',
			'tokenApi'=>'https://api.weibo.com/oauth2/access_token',
			),
		),
);
